


#import "UIImageView+Extension.h"

@implementation UIImageView (Extension)
///  设图片剪切模式 UIViewContentModeScaleAspectFill
///
///  @return UIImageView
- (instancetype)initAndClipsToBounds {
    if (self = [super init]) {
        self.contentMode = UIViewContentModeScaleAspectFill;
        self.clipsToBounds = YES;
    }
    return self;
}

@end
